package db;

import wellsim.no.ntnu.fp.su.Flow;

public class flowReg {

	private Flow flow;
	private double temprature;
	private double sandContent;
	private double pressure;
	private double velocity;

	
		
	public flowReg(double temprature, double sandContent, double pressure, double velocity){
		
		flow = new Flow();
		this.temprature = temprature;
		this.sandContent = flow.getSandContent();
		this.pressure = flow.getPressure();
		this.velocity = flow.getVelocity();

	}
	public Flow getFlow(){
		return flow;
	}
		
	@Override
	public String toString(){
		return "Temprature:" + temprature + " | Sand content:" + sandContent +
		" | Pressure:" + pressure + " | Velocity:" + velocity + "\n";
	}	

}
